package com.jsoft.test;

import com.jsoft.utils.PoolUtil;

import java.sql.Connection;
import java.sql.SQLException;

/**
 * @author snkstart
 * @create 2023-02-20 18:09
 */
public class testConnection {
    public static void main(String[] args) {
        try {
            Connection connection = PoolUtil.getDataSource().getConnection();
            System.out.println(connection);
        } catch (SQLException e) {
            e.printStackTrace();
        }
    }
}
